package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/6/21
 * 历史：
 */
public class entListbean {
    /**
     * code : 0
     * data : {"page":1,"pageSize":5,"records":828,"rowBegin":1,"rowEnd":5,"rows":[{"id":16511,"region":"32040202","name":"常州市勤绿蔬菜专业合作社","address":"常州市天宁区青龙街道福阳路8号","charge":"周志文","tel":"85302475","fax":"0","mobile":"13182596036","idcard":"320411194812301217","longitude":120.047639,"latitude":31.825301},{"id":16579,"region":"3204020701","name":"常州市焦溪村乐百家蔬果种植专业合作社","address":"武进区郑陆镇焦溪村韩家村民小组","charge":"崔爱军","tel":"0519-85117615","fax":"0","mobile":"13915087888","idcard":"320981197711254976","longitude":120.179748,"latitude":31.819336},{"id":16822,"region":"3204020702","name":"常州市焦店葡萄专业合作社","address":"武进区郑陆镇石堰村","charge":"丁飞顺","tel":"88906975","fax":"0","mobile":"13706110921","idcard":"320421196603145838","longitude":120.166412,"latitude":31.813208},{"id":17146,"region":"3204020703","name":"常州市龙兴湖水产专业合作社","address":"武进区郑陆镇羌家村委中巷","charge":"顾祥龙","tel":"","fax":"0","mobile":"13961156561","idcard":"320421195206155018","longitude":120.091216,"latitude":31.841304},{"id":17147,"region":"3204020703","name":"常州市双丰水产养殖专业合作社","address":"武进区郑陆镇羌家村委黄家头","charge":"纪小琴","tel":"88737979","fax":"0","mobile":"15806125212","idcard":"320483198102055023","longitude":120.094011,"latitude":31.842434}],"total":166}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * page : 1
         * pageSize : 5
         * records : 828
         * rowBegin : 1
         * rowEnd : 5
         * rows : [{"id":16511,"region":"32040202","name":"常州市勤绿蔬菜专业合作社","address":"常州市天宁区青龙街道福阳路8号","charge":"周志文","tel":"85302475","fax":"0","mobile":"13182596036","idcard":"320411194812301217","longitude":120.047639,"latitude":31.825301},{"id":16579,"region":"3204020701","name":"常州市焦溪村乐百家蔬果种植专业合作社","address":"武进区郑陆镇焦溪村韩家村民小组","charge":"崔爱军","tel":"0519-85117615","fax":"0","mobile":"13915087888","idcard":"320981197711254976","longitude":120.179748,"latitude":31.819336},{"id":16822,"region":"3204020702","name":"常州市焦店葡萄专业合作社","address":"武进区郑陆镇石堰村","charge":"丁飞顺","tel":"88906975","fax":"0","mobile":"13706110921","idcard":"320421196603145838","longitude":120.166412,"latitude":31.813208},{"id":17146,"region":"3204020703","name":"常州市龙兴湖水产专业合作社","address":"武进区郑陆镇羌家村委中巷","charge":"顾祥龙","tel":"","fax":"0","mobile":"13961156561","idcard":"320421195206155018","longitude":120.091216,"latitude":31.841304},{"id":17147,"region":"3204020703","name":"常州市双丰水产养殖专业合作社","address":"武进区郑陆镇羌家村委黄家头","charge":"纪小琴","tel":"88737979","fax":"0","mobile":"15806125212","idcard":"320483198102055023","longitude":120.094011,"latitude":31.842434}]
         * total : 166
         */

        private int page;
        private int pageSize;
        private int records;
        private int rowBegin;
        private int rowEnd;
        private int total;
        private List<RowsBean> rows;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecords() {
            return records;
        }

        public void setRecords(int records) {
            this.records = records;
        }

        public int getRowBegin() {
            return rowBegin;
        }

        public void setRowBegin(int rowBegin) {
            this.rowBegin = rowBegin;
        }

        public int getRowEnd() {
            return rowEnd;
        }

        public void setRowEnd(int rowEnd) {
            this.rowEnd = rowEnd;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * id : 16511
             * region : 32040202
             * name : 常州市勤绿蔬菜专业合作社
             * address : 常州市天宁区青龙街道福阳路8号
             * charge : 周志文
             * tel : 85302475
             * fax : 0
             * mobile : 13182596036
             * idcard : 320411194812301217
             * longitude : 120.047639
             * latitude : 31.825301
             */

            private int id;
            private String region;
            private String name;
            private String address;
            private String charge;
            private String tel;
            private String fax;
            private String mobile;
            private String idcard;
            private double longitude;
            private double latitude;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getRegion() {
                return region;
            }

            public void setRegion(String region) {
                this.region = region;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getCharge() {
                return charge;
            }

            public void setCharge(String charge) {
                this.charge = charge;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getFax() {
                return fax;
            }

            public void setFax(String fax) {
                this.fax = fax;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getIdcard() {
                return idcard;
            }

            public void setIdcard(String idcard) {
                this.idcard = idcard;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }
        }
    }
}
